package cn.gok.manage.service;

import cn.gok.pojo.Shipping;
import cn.gok.util.ResultData;

/**
 * @author: 鸭鸭
 * @ClassName:IShippingService
 * @Package:cn.gok.manage.service
 * @Description:
 * @date: 2021/8/4
 * @time: 16:31
 */
public interface IShippingService {

    /*
    *添加地址
    * */
    ResultData insertShipping(Shipping record);

    /*
    * 删除地址
    * */
    ResultData deleteShippingById(int id);

    /*
    *登录状态更新地址
    *  */
    ResultData updateShippingInLogin(Shipping record);

    /*
    * 选中查看具体的地址
    * */
    ResultData selectShippingById(int id);

    /*
    * 地址列表
    * */
    ResultData selectAllShipping(int pageNum,int pageSize);
}
